[#include "/WEB-INF/pages/common/taglibs.ftl"]
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Insert title here</title>
		<meta name="menu" content="AdminMenu"/>
		<meta name="heading" content="heading"/>
		<style type="text/css">
			.article {
				padding:0;
				margain:0;
			}
			.function_tree {
				width:240px;
				/*height:500px;*/
				float:left;
				margin-left:2px;
			}
			.function_list {
				/*height:500px;*/
				margin-left:248px;
			}
		</style>
	</head>
	<body id="body" class="art_content">
		
		<div class="contenttitle radiusbottom0" style="margin-bottom:1px;">
	    	<h2 id="vertical" class="form"><span>功能展示</span></h2>
	    </div><!--contenttitle-->
	    <form action="[@c.url value='/manage/Function_update.action'/]" method="post" class="stdform stdform2" id="form2">
	    	<input type="hidden" name="id" value="${id}"/>
        	<p>
            	<label>名称</label>
                <span class="field"><input type="text" class="longinput" name="function.name" value="${(function.name)!''}" /></span>
            </p>
            <p>
            	<label>标题</label>
                <span class="field"><input type="text" class="longinput" id="lastname2" name="function.title" value="${(function.title)!''}" /></span>
            </p>
            <p>
            	<label>行为</label>
                <span class="field"><input type="text" class="longinput" name="function.action" value="${(function.action)!''}"/></span>
            </p>
            <p>
            	<label>URL</label>
                <span class="field"><input type="text" class="longinput" name="function.url" value="${(function.url)!''}" /></span>
            </p>
            <p>
            	<label>类型</label>
                <span class="field">
	                <select id="selection2" name="function.type">
	                	<option value="">Choose One</option>
	                    <option value="0" [#if function.type == '0']selected="selected"[/#if]>0</option>
	                    <option value="1" [#if function.type == '1']selected="selected"[/#if]>1</option>
	                </select>
                </span>
            </p>
            <p>
            	<label>功能描述<small>功能的一些备注信息可以写在这里.</small></label>
                <span class="field"><textarea class="longinput" name="function.description" rows="5" cols="60">${(function.description)!''}</textarea></span>
            </p>
            <p class="stdformbutton">
            	<button class="submit radius2">提交</button>
                <input type="reset" value="重置" class="reset radius2">
				<a style="margin-left: 6px; background-color: rgb(247, 247, 247); border-color: rgb(204, 204, 204); color: rgb(51, 51, 51);" href="[@c.url value="/manage/Function_list.action"/]" class="anchorbutton button_alert">
					<span style="line-height: 21px; background-color: rgb(255, 255, 255); border-color: rgb(221, 221, 221);">返&nbsp;&nbsp;回</span>
				</a>
            </p>
        </form>
	</body>
</html>
